package com.example.mydemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mydemo.entity.Menu;
import com.example.mydemo.entity.MenuRole;
import com.example.mydemo.entity.domain.MenuRoleVO;
import com.example.mydemo.entity.domain.UserRoleVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author syf
 * @since 2025-05-28
 */
@Mapper
public interface MenuRoleMapper extends BaseMapper<MenuRole> {
        List<MenuRole> selectMenuByRoleId(Long id);
        List<MenuRoleVO> selectByRoleName(String name);
        List<MenuRoleVO> selectByRoleId(Long id);
        List<MenuRoleVO> selectName();
}

